From: Carlos Garnacho Date: Wed, 8 Oct 2025 18:08:31 +0000 (+0200) Subject: appDisplay: Drop dead function call X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~44^2~118 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ada19cc7165a0c1d9a376ca5e11974cbcf75e89d;p=gnome-shell.git appDisplay: Drop dead function call We call this menu manager method that does nothing. We can remove this method and the single call in the codebase. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 3da7f752f..490e8d04e 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -3028,7 +3028,6 @@ export const AppIcon = GObject.registerClass({ this.emit('menu-state-changed', true); this._menu.open(BoxPointer.PopupAnimation.FULL); - this._menuManager.ignoreRelease(); this.emit('sync-tooltip'); return false; diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 5b6ad664c..b89abfa93 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -1456,9 +1456,6 @@ export class PopupMenuManager { this._menus.splice(position, 1); } - ignoreRelease() { - } - _onMenuOpenState(menu, open) { if (open && this.activeMenu === menu) return;